import api from "@/api";
import { PORT } from "../config/servicePort";

// 获取字典
export const getDictByCode = (data?: any) => api.post(`${PORT}/api/system/dict/category/list`, data);

// 获取全量组织列表
export const getAllOrgList = (params: any) => api.post(`${PORT}/api/system/org/list`, params);
// 获取坐标系分类字典
export const getLocationTypeDict = (data: any) => api.post(`${PORT}/api/system/dict/category/list`, data);
// 获取区域分类字典
export const getDockTypeDict = (data: any) => api.post(`${PORT}/api/system/dict/category/list`, data);
// 获取接驳点分类
export const getJointTypeDict = (data?: any) => api.post(`${PORT}/api/system/dict/category/list`, data);

//********任务
// 获取任务级别
export const getTaskLevelDict = (data?: any) => api.post(`${PORT}/api/system/dict/category/intVals`, data);


